/*
 * Copyright 1999-2018 Alibaba Group Holding Ltd.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.alibaba.nacos.naming.consistency.ephemeral;

import com.alibaba.nacos.naming.consistency.ConsistencyService;

/**
 * 临时数据一致性服务.
 *
 * <p>这种一致性不需要在硬盘或数据库中存储数据，因为临时数据一直与服务器保持同一会话，会话存在则临时数据不会丢失.
 *
 * <p>所需要的是，即使发生了网络分区，数据写入也应该总是成功的. 当网络恢复后，每个分区的数据合并到一个集合中，因此集群恢复到一致性状态.
 *
 * @author nkorange
 * @since 1.0.0
 */
public interface EphemeralConsistencyService extends ConsistencyService {

}
